<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>elfin - General error</title>
    </head>
    <body>
        <h3>Exception: <?=get_class($this);?></h3>
        <p><strong>Message: </strong><?=$this->getMessage();?></p>
        <p><strong>Thrown at: </strong><?=$this->file . ' (' . $this->line . ')'?></p>
        <h5>Trace stack</h5>
        <table border="1" cellspacing="0" cellpadding="5">
            <thead>
                <tr>
                    <th>#</th>
                    <th>File</th>
                    <th>Function</th>
                    <th>Class</th>
                </tr>
            </thead>
            <tbody>
                <?php $c=0; foreach ($this->getTrace() as $trace) { ?>
                <tr>
                    <td><?=$c++?>#</td>
                    <td><?=$trace['file'].' ('.$trace['line'].')'?></td>
                    <td><?=$trace['function'].' ('.implode(', ', $trace['args']).')'?></td>
                    <td><?=$trace['class']?></td>
                </tr>
                <?php } ?>
                <tr>
                    <td><?=$c++?>#</td>
                    <td>{main}</td>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                </tr>
            </tbody>
        </table>

    </body>
</html>